package com.finger.orderservice.client;

import com.finger.modelservice.model.user.Patient;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Repository;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@Repository
@FeignClient("service-user")
public interface UserClient {

    @GetMapping("site/patient/inner/getPatient/{patientId}")
    public Patient getPatient(@PathVariable String patientId);
}
